package top.canyue.word_range_service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.canyue.word_range.pojo.dto.WordBookDto;
import top.canyue.word_range.pojo.po.WordBook;
import top.canyue.word_range.pojo.vo.WordBookVo;
import top.canyue.word_range.result.Result;

import java.util.List;

public interface WordBookService extends IService<WordBook> {

    Result<Object> addWordBook(WordBookDto wordBookDto);

    Result<WordBookVo> getWordBookById(String id);

    Result<Object> updateWordBook(WordBookDto wordBookDto);

    Result<List<WordBookVo>> getAllBookInfo();
}
